package com.jerkin.dubbo.context;

import com.alibaba.dubbo.remoting.TimeoutException;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @version V1.0
 * @ClassName: ExceptionHandleTag
 * @Description:
 * @author: huhongzhi
 * @date: 2020/8/3 21:37
 */
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Target({ElementType.METHOD})
public @interface ExceptionHandleTag {

    Class<? extends Throwable>[] exceptions() default {};

    String referenceMethod();

    boolean isNotify() default false;

}
